package com.KKd.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 14587
 * @date 2020/11/7 15:48
 */
@RestController
public class MyController{
    @RequestMapping("/a")
    public String test(){
        System.out.println("方法test执行了");
     return "hello";
    }
}
